package com.innoking.docsys.doc.dao.master;

import com.innoking.docsys.doc.dto.CmsBrowseRegister;
import com.innoking.docsys.doc.example.CmsBrowseRegisterMasterExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 描述:
 *
 * @author zyp
 * @description master浏览记录Dao层
 * @create 2019-09-10 16:27
 */
public interface MasterCmsBrowseRegisterDao {
    
    int countByExample(CmsBrowseRegisterMasterExample example);

    int deleteByExample(CmsBrowseRegisterMasterExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsBrowseRegister record);

    int insertSelective(CmsBrowseRegister record);

    List<CmsBrowseRegister> selectByExample(CmsBrowseRegisterMasterExample example);

    CmsBrowseRegister selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsBrowseRegister record, @Param("example") CmsBrowseRegisterMasterExample example);

    int updateByExample(@Param("record") CmsBrowseRegister record, @Param("example") CmsBrowseRegisterMasterExample example);

    int updateByPrimaryKeySelective(CmsBrowseRegister record);

    int updateByPrimaryKey(CmsBrowseRegister record);

}